import request from '@/utils/request'

export function getNoticeList(data){
    return request({
        url:'/gateway/notice/list',
        method:'post',
        data
    })
}

export function getNoticeInfo(id){
    return request({
        url:'/gateway/notice/info?id='+id,
        method:'get'
    })
}

export function saveNoticeInfo(data){
    return request({
        url:'/gateway/notice/save',
        method:'post',
        data
    })
}

export function deleteNoticeInfo(id){
    return request({
        url:'/gateway/notice/delete?id='+id,
        method:'delete'
    })
}

